package lab02.test07;

public class Student extends Person {
    //属性：学号，所在学校等信息
    String sno;
    String schoolname;

    public String getSno() {
        return sno;
    }

    public String getSchoolname() {
        return schoolname;
    }

    public void setSno(String sno) {
        this.sno = sno;
    }

    public void setSchoolname(String schoolname) {
        this.schoolname = schoolname;
    }
}
